﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Validator.Engine;
using YoProgramo.Domain.Core.Interfaces;

namespace YoProgramo.Domain.BusinessLogic.Service
{
    public interface IVisitService<Ttentity> {
        IList<IVisit<Ttentity>> GetAll();
        IList<IVisit<Ttentity>> GetAllBy(Ttentity obj);
        InvalidValue[] Create(IVisit<Ttentity> obj);
        bool Update(IVisit<Ttentity> obj);
        void Delete(IVisit<Ttentity> obj);
    }
}